package cn.kgc.api.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.io.Serializable;

@Data
@ApiModel
public class MenusAddForm implements Serializable {

    /**
     * 菜单名称
     */
    @ApiModelProperty(name = "menu_name", value = "菜单名称", dataType = "java.lang.String")
    private String menuName;

    /**
     * 1菜单 2按钮
     */
    @ApiModelProperty(name = "menu_type", value = "1菜单 2按钮", dataType = "java.lang.Integer")
    private Integer menuType;

    /**
     * 菜单路由
     */
    @ApiModelProperty(name = "path", value = "菜单路由", dataType = "java.lang.String")
    private String path;

    /**
     * 菜单图标
     */
    @ApiModelProperty(name = "icon", value = "菜单图标", dataType = "java.lang.String")
    private String icon;

    /**
     * 父菜单ID
     */
    @ApiModelProperty(name = "parent_id", value = "父菜单ID", dataType = "java.lang.Integer")
    private Integer parentId;

    /**
     * 组件路径
     */
    @ApiModelProperty(name = "component", value = "组件", dataType = "java.lang.String")
    private String component;

    /**
     * 权限标识符
     */
    @ApiModelProperty(name = "perm", value = "权限标识", dataType = "java.lang.String")
    private String perm;
}
